package tech.yangzhijie.basic.java06.test0502;

public class Automobile extends Vehicle {

    @Override
    public void setType(String type) {
        super.setType(type);
    }

    @Override
    public String getType() {
        return super.getType();
    }
    @Override
    public String toString() {
        return "Automobile{" +
                "type='" + getType() + '\'' +
                '}';
    }
}
